import request from '@/utils/request'

// 查询基准利率定义列表
export function listBaseRateSet(query) {
  return request({
    url: '/basic/baseRateSet/list',
    method: 'get',
    params: query
  })
}

// 查询基准利率定义详细
export function getBaseRateSet(baseRateSet) {
  return request({
    url: '/basic/baseRateSet/' + baseRateSet,
    method: 'get'
  })
}

// 新增基准利率定义
export function addBaseRateSet(data) {
  return request({
    url: '/basic/baseRateSet',
    method: 'post',
    data: data
  })
}

// 修改基准利率定义
export function updateBaseRateSet(data) {
  return request({
    url: '/basic/baseRateSet',
    method: 'put',
    data: data
  })
}

// 删除基准利率定义
export function delBaseRateSet(baseRateSet) {
  return request({
    url: '/basic/baseRateSet/' + baseRateSet,
    method: 'delete'
  })
}
